package bl;


public class Product {
	
	private int item, amount,content_,content_2,u_id;
	private String barcode,label,brand;
	public StringBuffer buffer = new StringBuffer();
	

	public StringBuffer getBuffer(){
		return buffer;
	}
	
	public void resetBuffer(){
		buffer = null;
	}


	public String getBarcode() {
		return barcode;
	}

	public void setBarcode(String barcode) {
		this.barcode = barcode;
		buffer.append(barcode);
	}
	public int getU_id() {
		return u_id;
	}

	public void setU_id(int u_id) {
		this.u_id = u_id;
	}

	public int getContent_2() {
		return content_2;
	}

	public void setContent_2(int content_2) {
		this.content_2 = content_2;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public int getContent_() {
		return content_;
	}

	public void setContent_(int content_) {
		this.content_ = content_;
	}

	public int getItem() {
		return item;
	}

	public void setItem(int item) {
		this.item = item;
		buffer.append(":" + item + ",");
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
		buffer.append(amount + ",");
	}

}
